package com.prime.tutorial.moviestore.dao;

import com.prime.tutorial.moviestore.domain.Device;
import com.prime.tutorial.moviestore.domain.Location;

import java.util.List;

public interface LocationDAO extends GenericDAO<Location, Long> {

    public List<Location> findByDevice(Device device);

    public List<Location> findByAllDevices();

    public List<Location> findByAllDevicesWithFreePorts();

    public List<Location> repWithFreePorts();

    public List<Location> repWithDevices();
//    public Boolean checkIfUserCouldAddNewUsers(Users user);
}